<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>错误页面-${setting.name}</title>
	[#include "common/include.ftl"]
</head>
<body class="customer">
	[#include "common/header.ftl"]
    <div class="body w">
        <div class="error-wrap mt20">
            <dl>
                <dt class="cry"></dt>
				<dd>
                    <h3>
						[#if content??]
							${content}
						[/#if]
						[#if constraintViolations?has_content]
							[#list constraintViolations as constraintViolation]
								[${constraintViolation.propertyPath}] ${constraintViolation.message}
							[/#list]
						[/#if]
						[#if errors?has_content && errors.errors?has_content]
							[#list errors.errors as error]
								${error}
							[/#list]
						[/#if]
					</h3>
                    <p>您可以：</p>
                    <p>检查刚才的输入</p>
                    <p>
						<span>去其他地方逛逛：</span>
						[#list navigation("attrName","middle") as bean]
				            <a href="${(bean.href)!}" title="${(bean.name)!}">${(bean.name)!}</a>
						[/#list]
					</p>
                </dd>
            </dl>
        </div>
        <div class="banner mt20">
			[@b2c_advert_list position='error_page' num=1]
				[#list tag_list as advert]
					<a href="${advert.url}" title="${advert.name}">
						<img class="lazy" data-original="[@Pic pic=advert.logo/]" width="1200" height="90">
					</a>
				[/#list]
			[/@b2c_advert_list]
            <div class="clear"></div>
        </div>
        <div class="cx-wrap mt20">
            <div class="mt">
                <h2>热销推荐</h2>
            </div>
            <div class="mc">
                <ul class="p-list">
				[@b2c_goods_list tagId=1 count=20]
					[#list goodsList as goods]
                        <li class="p-item">
                            <div class="img">
								<a href="${(goods.path)!'#'}">
									<img class="lazy" data-original="[@Pic pic=goods.image_default postfix="150x150"/]" width="150" height="150"/>
								</a>
							</div>
                            <p class="name"><a href="${(goods.path)!'#'}">${goods.name} ${goods.spec}</a></p>
                            <p class="price"><span>￥</span><strong>${currency(goods.marketPrice, false)}</strong></p>
                        </li>
					[/#list]
				[/@b2c_goods_list]
                </ul>
            </div>
        </div>
    </div>
	[#include "common/footer-slidebar-lazyload.ftl"]
</body>
</html>